package com.fang.decorator;

import com.fang.decorator.bo.SubmitOrderBo;

/**
 * @author fanglingxiao
 * @version 1.0
 * @description TODO
 * @date 2022/4/23 3:21 下午
 **/
public class O2oOrderTradeDecorator extends OrderDecorator {

    public O2oOrderTradeDecorator(OrderTradeComponent component) {
        super(component);
    }

    @Override
    public void convertSubmitOrder(SubmitOrderBo bo) {
        super.convertSubmitOrder(bo);
        this.o2oConvert(bo);
    }

    private void o2oConvert(SubmitOrderBo bo) {
        bo.setPosInfo("o2o的pos信息");
    }
}
